package com.medical.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.medical.common.to.OrderTo;
import com.medical.common.utils.PageUtils;
import com.medical.goods.entity.*;
import com.medical.goods.entity.vo.OrderAuditVo;
import com.medical.goods.entity.vo.OrderDeliverVo;
import com.medical.goods.entity.vo.OrdercheckVo;
import com.medical.goods.entity.vo.OrderVo;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2021-08-13 20:42:37
 */
public interface OrderService extends IService<OrderEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //订单列表
    List<OrderVo> orderlist(OrderVo orderVo);

    //订单审核页面
    OrderAuditVo audit(Integer id);


    //订单查看页面
    OrdercheckVo check(Integer id);

    //订单发货
    Integer deliver(Integer id,String logisticsName, String logisticsOdd, String logisiticsType, String logisticsPrice, String logisticsRemark);



    void saveSeckillOrder(OrderTo orderTo);

    void closeOrder(OrderTo orderTo);
    //审核提交
    Integer submit(Integer id,Integer dispose, String remark);
}

